<!DOCTYPE html>
<html lang="en">
<head>
  
<meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title></title>
  <meta name="viewport" content="initial-scale=1, maximum-scale=1">
  <!-- <link rel="shortcut icon" href="http://favicon.ico"> -->
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">


  <link rel="stylesheet" href="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/css/sm.min.css">
  <link rel="stylesheet" href="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/css/sm-extend.min.css">
  <script type="text/javascript" src="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/common/common/common.js"></script>
  <style>
    /*修改标题栏颜色*/
    .bar.bar-nav {
      background-color: #89DAF5;
    }

    /*修改标题栏字体颜色*/
    .bar.bar-nav .title {
      color: #fff;
    }
    
    /*修改工具栏背景颜色*/
    .bar.bar-tab {
      background-color: #FEEA4D;
    }
    /*修改内容区背景色*/
    body{
      background-color:#eeeeee;
    }
    .list-block{
       margin: 0.5rem 0;
    }
    .list-block .item-inner{
      padding: 0.3rem 0;
      -webkit-justify-content:flex-start;
      justify-content:flex-start;
    }
    .item-title{
      width: 60%;
      margin-left:4%;
      font-size: 16px;
    }
    .item-img{
      width: 24px;
      margin-left:2%;
    }
    .item-img img{
      display: block;
      width: 100%;
    }
    .item-icon{
      width: 2.0rem;
      height: 2.0rem;
      margin-left:16%;
    }
    .item-icon img{
      display: block;
      width: 100%;
    }

  </style>
</head>
<body>
  
  <div class="page-group">
    <div class="page">
      <!-- 标题栏 -->
      <!-- <header class="bar bar-nav">
        <h1 class="title">我 的</h1>
      </header> -->

      <!-- 工具栏 -->
      <!-- <nav class="bar bar-tab">
        <a class="tab-item external" href="#">
          <span class="icon icon-home"></span>
          <span class="tab-label">书 架</span>
        </a>
        <a class="tab-item external active" href="#">
          <span class="icon icon-me"></span>
          <span class="tab-label">我 的</span>
        </a>
      </nav> -->

      <!-- 页面内容区域 -->
      <div class="content">
        <!-- <div class="content-block-title">版本号：V1.1.0</div> -->
        <div class="list-block">
          <ul>
            <li id="mine_li_userinfo">
              <div class="item-content">  
                 <div class="item-inner" onclick="personal()">
                      <div class="item-img"><img src="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/img/img/mine.png"></div>
                      <div class="item-title">个人资料</div>
                      <div class="item-icon">
                         <img src="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/img/img/img_more_right.png">
                      </div>
                 </div>
              </div>
            </li>
            <li>
              <div class="item-content">  
                 <div class="item-inner" onclick="mine_study()">
                      <div class="item-img"><img src="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/img/img/student1.png"></div>
                      <div class="item-title">学习情况</div>
                      <div class="item-icon">
                         <img src="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/img/img/img_more_right.png">
                      </div>
                 </div>
              </div>
            </li>
            <!-- <li id="mine_li_order">
              <div class="item-content">  
                 <div class="item-inner" onclick="ordermine()">
                      <div class="item-img"><img src="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/img/img/order.png"></div>
                      <div class="item-title">我的订单</div>
                      <div class="item-icon">
                         <img src="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/img/img/img_more_right.png">
                      </div>
                 </div>
              </div>
            </li>
            <li  id="mine_li_score">
              <div class="item-content">  
                 <div class="item-inner" onclick="creditmine()">
                      <div class="item-img"><img src="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/img/img/credit.png"></div>
                      <div class="item-title">我的积分</div>
                      <div class="item-icon">
                         <img src="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/img/img/img_more_right.png">
                      </div>
                 </div>
              </div>
            </li> -->
            <li  id="mine_li_activity">
              <div class="item-content">  
                 <div class="item-inner" onclick="jihuo()">
                      <div class="item-img"><img src="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/img/img/activate.png"></div>
                      <div class="item-title">激活记录</div>
                      <div class="item-icon">
                         <img src="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/img/img/img_more_right.png">
                      </div>
                 </div>
              </div>
            </li>

          </ul>
        </div>
        <div class="list-block">
          <ul>
            <li hidden>
              <div class="item-content">  
                 <div class="item-inner">
                      <div class="item-img"><img src="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/img/img/help.png"></div>
                      <div class="item-title">帮助中心</div>
                      <div class="item-icon">
                         <img src="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/img/img/img_more_right.png">
                      </div>
                 </div>
              </div>
            </li>
            <li>
              <div class="item-content">  
                 <div class="item-inner" onclick="gotoVedio()" >
                      <div class="item-img"><img src="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/img/img/version.png"></div>
                      <div class="item-title">版本V1.0</div>
                      <div class="item-icon">
                         <!-- <img src="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/img/img/img_more_right.png"> -->
                      </div>
                 </div>
              </div>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>

  <!-- !-- 固定的js引用，所有的jQuery 要用 $$ 表示 --> 
<script type="text/javascript" src="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/js/js/jquery-1.11.1.min.js"></script>
<!-- 这一行代码是为了 避免js冲突 -->
<script type="text/javascript">var $$ =jQuery.noConflict();</script>

<script type='text/javascript' src='https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/zepto/zepto/zepto.min.js' charset='utf-8'></script>
<script type='text/javascript' src='https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/js/js/sm.min.js' charset='utf-8'></script>
<!-- <script type='text/javascript' src='https://gitee.com/huaflower/CommonFile/raw/master/js/sm-extend.min.js' charset='utf-8'></script> -->
<script src="https://gitee.com/huaflower/ReadBook_CommonFile/raw/master/js/js/swiper/swiper.min.js"></script>
<script type="text/javascript">

   // 个人资料
   function personal(){

     if (identity == 0) {
       // 学生
       native_goto('local/personal_data');
     }else{
       // 家长
       native_goto('local/partent_data');
     }
     
   };
   // 学习情况
   function mine_study(){
     native_goto('local/study_parent?ishaveparam=1');
   };

   // 我的订单
   function ordermine(){
    native_goto('local/ordermine?param=data');
   }

   // 我的积分
   function creditmine(){
    native_goto('local/creditmine');
   }
   
   // 激活记录
   function jihuo(){
      native_goto('local/buy_booklist');
   };

   function gotoVedio(){
      // native_goto('local/videoplay?url=https://vjs.zencdn.net/v/oceans.mp4&cid=0');
   }


  function getParams(data){
   // data需要转成json调用 ，函数urlParamParseJson();
     /*var jodata = JSON.parse(data); 
     if(isNotNull(jodata)){//
        
     }*/

     // if(isNotNull(data)){
     //    $$("#div_version").html("版本号：V"+data);
     // }
            // alert(identity);
  }

  	
    // 初始化
    $(function(){

      if(isIOSApply == '1' && isIOS()){
        // localStorage.setItem('tempiospasslogin',1);
        $$("#mine_li_activity").hide();
        $$("#mine_li_order").hide();
        $$("#mine_li_score").hide();
        $$("#mine_li_userinfo").hide();
        
        // var loginstate = localStorage.getItem('loginstate');
        // if(loginstate == 1 || loginstate == '1'){

        // }else{
        //    // native_showtoast("您需要进行登录后才能继续操作");
        //    native_goto('local/loginmine');
        // }
      }

      $.init();
    });
  </script>
</body>
</html>